# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=ospd-ovaldi
pkgver=1.0.0
pkgrel=5
_pkgid=2003
pkgdesc="OSP server implementation to allow OpenVAS to remotely control ovaldi scanners"
url="http://openvas.org/"
arch="noarch"
license="GPL-2.0-or-later"
depends="python3 ospd"
makedepends="python3-dev py3-paramiko py3-setuptools"
source="http://wald.intevation.org/frs/download.php/$_pkgid/$pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	python3 setup.py build
}

check() {
    cd "$builddir"
    python3 setup.py check
}

package() {
	cd "$builddir"
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}


sha512sums="73a0e2782225ca010abcf3ba45378238da44450fd856a2dc6dfbcc1d24c83a8b5e1e252189029c80bab850dff4b91c8f461f49b4a3410e86285b85ce4ac5113a  ospd-ovaldi-1.0.0.tar.gz"
